<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<div id="jobDetailParamModal" class="modal fade" tabindex="-1"
	role="dialog" aria-hidden="true">
	<div class="modal-dialog modal-lg">
		<div class="modal-content">
			<form class="form-horizontal" name="jobDetailParamForm" ng-submit="saveJobDetailParam()">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title">
						<i class="mark"></i> <span>修改新增子任务参数</span>
					</h4>
				</div>
				<div class="modal-body">
					<div class="form-group has-feedback"
						ng-class="{'has-error' : jobDetailParamForm.mkey.$invalid && jobDetailParamForm.mkey.$dirty, 
							'has-warning': jobDetailParamForm.mkey.$invalid && !jobDetailParamForm.mkey.$dirty}">
						<label class="col-md-3 control-label necessary-option">参数名:</label>
						<div class="col-md-8">
							<input type="text" class="form-control input-sm" name="mkey" ng-model="jobDetailParamVO.mkey" ng-required="true"/>
							<span
								class="glyphicon glyphicon-remove form-control-feedback"
								aria-hidden="true" ng-maxlength="250"
								ng-show="jobDetailParamForm.mkey.$invalid && jobDetailParamForm.mkey.$dirty"></span>
							<span
								class="glyphicon glyphicon-warning-sign form-control-feedback"
								aria-hidden="true"
								ng-show="jobDetailParamForm.mkey.$invalid && !jobDetailParamForm.mkey.$dirty"></span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-md-3 control-label">参数值:</label>
						<div class="col-md-8">
							<input type="text" class="form-control input-sm" ng-model="jobDetailParamVO.mvalue" />
						</div>
					</div>
				</div>
				<div class="modal-footer">
					<div class="modal-footer-button">
						<button type="button" class="btn btn-sm btn-default"
							data-dismiss="modal">取消</button>
						<button type="submit" class="btn btn-sm btn-blue">确认</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
